MouseWheel

public interface MouseWheel implements MouseEvent

An event indicating that the mouse wheel button has been rotated.

Types

Link copied to clipboard
public final class Builder
A builder of MouseWheel.

Functions

Link copied to clipboard
public float deltaX()
Returns the number of units to scroll horizontally.
Link copied to clipboard
public float deltaY()
Returns the number of units to scroll vertically.
Link copied to clipboard
Returns the keyboard modifiers applied.
Link copied to clipboard
public Point location()
Returns the mouse position relative to the bounds of the browser instance.
Link copied to clipboard
Returns the mouse position relative to the bounds of the screen.
Link copied to clipboard
public static MouseWheel.Builder newBuilder(Point location)
Creates a new MouseWheel builder with the given required parameters.
Link copied to clipboard
public ScrollType scrollType()
Returns the scroll type of the event.